package com.link2room.enums.exception;

import com.link2room.common.constant.BaseConstant;
import com.link2room.common.enums.DefaultSysExceptionInterface;

/**
 * Created by sss on 2016/8/11.
 */
public enum BumblebeeSysExceptionEnum implements DefaultSysExceptionInterface {
    /****SOUNDWAVE**********SOUNDWAVE********************SOUNDWAVE**********SOUNDWAVE****/
    NO_PMSRESERVATIONOPTION(1601,"PMS下单参数不存在", BaseConstant.SysExceptionConstant.BIZ_TYPE.BIZ),
    CREATE_WEBSETTINGS_ERROR(1602,"站点信息创建错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.BIZ),
    UPDATE_WEBSETTINGS_ERROR(1603,"站点信息更新错误", BaseConstant.SysExceptionConstant.BIZ_TYPE.BIZ),
    GENERATE_NEW_NO_ERROR(1604,"创建单号出错.", BaseConstant.SysExceptionConstant.BIZ_TYPE.BIZ),
    ;

    private BumblebeeSysExceptionEnum(int code, String msg, String bizType){
        this.code=code;
        this.msg=msg;
        this.bizType=bizType;
    }

    private int code;

    private String msg;

    private String bizType;

    @Override
    public int getCode() {
        return code;
    }
    @Override
    public void setCode(int code) {
        this.code = code;
    }
    @Override
    public String getMsg() {
        return msg;
    }
    @Override
    public void setMsg(String msg) {
        this.msg = msg;
    }
    @Override
    public String getBizType() {
        return bizType;
    }
    @Override
    public void setBizType(String bizType) {
        this.bizType = bizType;
    }
}
